﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;


namespace PeiYue.Model.Models.Store
{
    ///<summary>
    ///扫码投递记录
    ///</summary>
    [SugarTable("DeliveryRecord", "OMS")]
    public class DeliveryRecordDao
    {
        public DeliveryRecordDao()
        {
        }

        [SugarColumn(IsNullable = false, IsPrimaryKey = true)]
        public long Id { get; set; }
        /// <summary>
        /// 单号
        /// </summary>
        public string OrderId { get; set; }
        /// <summary>
        /// 客户编码
        /// </summary>

        public string CustomerCode { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomerName { get; set; }
        /// <summary>
        /// 优先级
        /// </summary>
        public string Priority { get; set; }
        /// <summary>
        /// 品名
        /// </summary>

        public string SkuName { get; set; }
        /// <summary>
        /// 存货编码
        /// </summary>

        public string SkuCode { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string SkuSpec { get; set; }
        /// <summary>
        /// 销售ID
        /// </summary>
        public int OrderDetailId { get; set; }
        /// <summary>
        /// 行号
        /// </summary>

        public int LineNumber { get; set; }
        /// <summary>
        /// 分拣方式
        /// </summary>

        public string SortingMode { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public decimal SkuQty { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal SkuPrice { get; set; }
        /// <summary>
        ///包裹数
        /// </summary>
        public int PackQty { get; set; }
        /// <summary>
        /// 状态 0有效，1无效
        /// </summary>

        public int Status { get; set; }
        /// <summary>
        /// 类型 1：扫码投递，2：手动投递
        /// </summary>
        public int Type { get; set; }
        public long CreateUser { get; set; }

        public DateTime CreateTime { get; set; }

        public long UpdateUser { get; set; }

        public DateTime UpdateTime { get; set; }
        /// <summary>
        /// 条形码
        /// </summary>
        public string BarCode { get; set; }
    }
}